package com.atguigu.gmall.util;

/**
 * @author : ranzlupup
 * @since : 2023/6/1 12:12
 */
public class MyConfig {
    public static final String KAFKA_BOOTSTRAP_SERVERS = "kafka.bootstrap-servers";
    public static final String KAFKA_DIM_BOOTSTRAP_SERVERS = "kafka.dim.consumer.bootstrap-servers";
    public static final String REDIS_HOST = "redis.host";
    public static final String REDIS_PORT = "redis.port";
    public static final String ES_HOST = "es.host";
    public static final String ES_PORT = "es.port";

    // Phoenix库名
    public static final String HBASE_SCHEMA = "GMALL_FLINK_REALTIME";

    // Phoenix驱动
    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";

    // Phoenix连接参数
    public static final String PHOENIX_SERVER = "jdbc:phoenix:hadoop102,hadoop103,hadoop104:2181";

    // ClickHouse 驱动
    public static final String CLICKHOUSE_DRIVER = "ru.yandex.clickhouse.ClickHouseDriver";

    // ClickHouse 连接 URL
    public static final String CLICKHOUSE_URL = "jdbc:clickhouse://hadoop102:8123/gmall_flink";
}
